/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.analyse.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 任务记录表 实体类
 *
 * @author muxi
 * @since 2023-03-22
 */
@Data
@TableName("ts_task_record")
@ApiModel(value = "TaskRecord对象", description = "任务记录表")
@EqualsAndHashCode(callSuper = true)
public class TaskRecordEntity extends TenantEntity {

	/**
	 * 乐观锁
	 */
	@ApiModelProperty(value = "乐观锁")
	private String revision;
	/**
	 * 学习课程的ID集合
	 */
	@ApiModelProperty(value = "学习课程的ID集合")
	private String courseIds;
	/**
	 * 学习课程的名字集合
	 */
	@ApiModelProperty(value = "学习课程的名字集合")
	private String courseName;
	/**
	 * 共回答数
	 */
	@ApiModelProperty(value = "共回答数")
	private Integer totalAnswerCount;
	/**
	 * 任务完成数
	 */
	@ApiModelProperty(value = "任务完成数")
	private Integer tasksCompletedCount;
	/**
	 * 在线学习时长
	 */
	@ApiModelProperty(value = "在线学习时长")
	private Integer onlineLearnDuration;
	/**
	 * 平均成绩
	 */
	@ApiModelProperty(value = "平均成绩")
	private Integer averageScore;
	/**
	 * 用户id
	 */
	@ApiModelProperty(value = "用户id")
	private Long userId;

}
